The 'goto' statement allows unconditional transfer to a labeled statement. The labelled statement must occur in the same function body (actually the same statement block). For example:
.
.
goto begin_output;
.
.
begin_output: /* label */
printf("Here's the output:\n");
.
.
Goto statements and labels are almost never used since they tend to obscure program structure making debugging and maintenance difficult. Code using goto can always be rewritten using structured programming constructs like if-else and while.